<?php

namespace ApiWF\Model;
use Think\Model\ViewModel;

class LotteryLogViewModel extends ViewModel {

    public $viewFields = array(
        'LotteryLog'=>array('id','create_time'),
        'LotteryGoods'=>array('reward_coin','goods_intro','goods_name', '_on'=>'LotteryGoods.id=LotteryLog.goods_id'),
        'Users'=>array('user_nicename','mobile', '_on'=>'Users.id=LotteryLog.uid'),
    );


}